<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2017/11/10
 * Time: 11:16
 */

Route::group([

], function () {
	//获取web首页数据
	Route::get('/get_banner', 'HomeController@get_banner');
    //	获取店铺接口
    //申请入住
    Route::post('/applySettle', 'HomeController@applySettle');
    //获取入驻规则
    Route::get('/getShopRule','HomeController@getShopRule');
    //评论商家
    Route::post('/add_shopComment','HomeController@add_shopComment');
    //收藏商品和关注店铺
    Route::post('/do_collection','HomeController@do_collection');
    Route::get('/get_shopInfo','HomeController@get_shopInfo');
    Route::get('/get_shop', 'HomeController@get_shop');
    //获取收藏商品
    Route::get('/get_favor','HomeController@get_favor');
    Route::get('/checkMsg','HomeController@checkMsg');
    Route::get('/check_text','HomeController@check_text');
    Route::post('/check_msg','HomeController@check_msg');
    Route::post('/check_media','HomeController@check_media');
    Route::get('/get_shopGood','HomeController@get_shopGood');
    Route::get('/access_token','HomeController@access_token');
    //获取关注的店铺
    Route::get('/get_collectionShop','HomeController@get_collectionShop');
    //获取商品详情接口
    Route::get('/getShopsDetail', 'HomeController@getShopsDetail');
    Route::get('/getRecommendShop', 'HomeController@getRecommendShop');
    Route::get('/getMessageTotal', 'HomeController@getMessageTotal');
    //商品评论新增
    Route::post('/goods_commit', 'HomeController@goods_commit');
    //获取评论列表商品
    Route::get('/getGoodsComment', 'HomeController@getGoodsComment');
    // 获取商品接口
    Route::get('/get_goods', 'HomeController@get_goods');
    //获取商品详情接口
    Route::get('/getGoodsDetail', 'HomeController@getGoodsDetail');
    // 获取分类
    Route::get('/get_cates', 'HomeController@get_cates');
    // 获取求购列表
    Route::get('/get_buys', 'HomeController@get_buys');
    //获取论坛专区
    Route::get('/get_forums', 'HomeController@get_forums');
    //获取详情接口
    Route::get('/get_ForumsDetail', 'HomeController@get_ForumsDetail');
    //发布论坛接口
    Route::post('/save_forums','HomeController@save_forums');
    // 论坛评论接口
    Route::get("/getForumsComments" ,'HomeController@getForumsComments');
    //添加论坛评论
    Route::post('/sendComment','HomeController@sendComment');
    //获取视频列表
    Route::get('/get_Videos', 'HomeController@get_Videos');
    //看视频得积分
    Route::post('/video_score','HomeController@video_score');
    //新增视频接口
    Route::post('/add_video','HomeController@add_video');
    Route::get('/getQrcode','HomeController@getQrcode');
    Route::post('/add_videoComment','HomeController@add_videoComment');
    //视频详情接口
    Route::get('/get_videoDetail','HomeController@get_videoDetail');
    //视频评论列表接口
    Route::get('/getVideoCommentList','HomeController@getVideoCommentList');

    //获取用户openid
    Route::get('/get_openid','HomeController@get_openid');
    // 获取签到接口
    Route::get('/get_rule','HomeController@get_rule');
    //获取签到记录
    Route::get('/get_sign','HomeController@get_sign');
    //签到
    Route::post('/do_sign','HomeController@do_sign');
    //关于我们
    Route::get('/about' ,'HomeController@about');
    //文件上传接口
    Route::post('/uploads','HomeController@uploads');
    //意见反馈
    Route::post('/feedback','HomeController@feedback');
    // 我的求购列表
    Route::get('/my_buy','HomeController@my_buy');
    // 求购列表
    Route::get('/buys','HomeController@buys');
    //求购详情
    Route::get('/getBuyDetail','HomeController@getBuyDetail');
    // 求购新增
    Route::post('/save_buy','HomeController@save_buy');
    //积分商城列表
    Route::get('/get_exchanges','HomeController@get_exchanges');
    // 添加地址
    Route::post('/add_address','HomeController@add_address');
    //获取地址
    Route::get('/get_address','HomeController@get_address');
    //设置默认地址
    Route::post('/set_address','HomeController@set_address');
    //兑换商品
    Route::post('/exchangeShop','HomeController@exchangeShop');
    //获取我的订单
    Route::get('/get_myorder','HomeController@get_myorder');
    //确认发货
    Route::post('/send_code','HomeController@send_code');
    //个人中心
    Route::get('/getCenter','HomeController@getCenter');
    //小程序总浏览量
    Route::get('/getTotal','HomeController@getTotal');
    //发送消息接口
    Route::post('/send_message','HomeController@send_message');
    //店铺编辑接口
    Route::post('/shop_edit','HomeController@shop_edit');
    //获取消息列表
    Route::get('/get_messageList','HomeController@get_messageList');
    Route::post('/bind','HomeController@bind');
    Route::post('/do_finish','HomeController@do_finish');
    Route::get('/getMyMessage','HomeController@getMyMessage');
    //商家后台登录接口
    Route::post('/login','HomeController@login');
    //获取商家商品列表
    Route::get('/get_shopGoods','HomeController@get_shopGoods');
    //删除接口
    Route::post('/do_delete','HomeController@do_delete');
    Route::post('/add_goodComments','HomeController@add_goodComments');
    //商品保存接口
    Route::post('/goods_save','HomeController@goods_save');
    //红包兑换
    Route::post('/exchange_code','HomeController@exchange_code');
    //修改发货
    Route::post('/change_send','HomeController@change_send');
    //确认收货
    Route::post('/get_orders','HomeController@get_orders');
    //商家视频获取
    Route::get('/video_lists','HomeController@video_lists');
    Route::get('/getUserFrums','HomeController@getUserFrums');
    //获取兑换红包详情接口
    Route::get('/getMoneyDetail','HomeController@getMoneyDetail');
    //商家视频编辑和保存
    Route::post('/save_video','HomeController@save_video');
    //上下架
    Route::post('/change','HomeController@change');
    //获取订单详情接口
    Route::get('getOrderDetail','HomeController@getOrderDetail');
    //获取最新入入驻厂家
    Route::get('getNews','HomeController@getNews');
});